package com.chixing.service;

import com.chixing.entity.Myorder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-05-21
 */
public interface IMyorderService  {
    /**
     * 根据主键id查看dish
     * @param myorderId 要查询的myorder的id
     * @return 返回对应的菜品对象
     */
    public Result getById(Integer myorderId);

    /**
     * 保存订单
     * @param myorder 要保存的订单对象
     * @return 保存结果
     */
    public Result save(Myorder myorder);
    public Result getcustId(Integer custId);

}